from urllib import parse

data = {'name':'爬虫基础', 'greet':'hello world', 'age':100}
qs = parse.urlencode(data)
print(qs)


